package pojo;

import java.util.Date;

public class Role {
    private Byte roleId;

    private String roleName;

    private String roleBuilder;

    private Date roleBuildDate;

    public Byte getRoleId() {
        return roleId;
    }

    public void setRoleId(Byte roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName == null ? null : roleName.trim();
    }

    public String getRoleBuilder() {
        return roleBuilder;
    }

    public void setRoleBuilder(String roleBuilder) {
        this.roleBuilder = roleBuilder == null ? null : roleBuilder.trim();
    }

    public Date getRoleBuildDate() {
        return roleBuildDate;
    }

    public void setRoleBuildDate(Date roleBuildDate) {
        this.roleBuildDate = roleBuildDate;
    }

    @Override
    public String toString() {
        return "Role{" +
                "roleId=" + roleId +
                ", roleName='" + roleName + '\'' +
                ", roleBuilder='" + roleBuilder + '\'' +
                ", roleBuildDate=" + roleBuildDate +
                '}';
    }
}